//
//  GameOverScene.h
//  MyCocos2DSimpleGame
//
//  Created by How Charles on 11-4-22.
//  Copyright 2011 hust. All rights reserved.
//


#import "cocos2d.h"


extern int score_min[11];

@interface GameOverLayer : CCLayer {
	
	//AdViewController	*adController;

	
	CCLabelAtlas *_label;
	int level;  //from 1 to 20
	int play_score; 
	CCLabel * goal_label;
	CCMenuItemImage* NextGame;
	
	bool bIsNewHightScore;
}

@property (nonatomic, retain) CCLabelAtlas *label;
@property (nonatomic, retain) CCLabel *goal_label;
//@property (nonatomic, retain) int level;
//@property (nonatomic, retain) int play_score;
-(void)setResult;
@end

@interface GameOverScene : CCScene {
	GameOverLayer *_layer;
}

@property (nonatomic, retain) GameOverLayer *layer;

-(void)replayGame:(id)sender;

-(void)GameMenu:(id)sender;

-(void)NextGame:(id)sender;
-(void)setNextVisable;

@end
